.PHONY: install
BINDIR=$(DESTDIR)/usr/bin/
DATADIR=$(DESTDIR)/usr/share/tkhostman/
BASH_COMPLETION_DIR=$(DESTDIR)/etc/bash_completion.d/

all:

install:
	echo DESTDIR=$(DESTDIR)
	mkdir -p $(BINDIR)
	cp tkgui $(BINDIR)/tkhostman
	cp sshto $(BINDIR)
	cp hostinfo $(BINDIR)
	cp hostmount $(BINDIR)
	cp sshimport $(BINDIR)
	cp sshpass $(BINDIR)
	mkdir -p $(DATADIR)
	cp common.tcl $(DATADIR)
	cp plugin_*.tcl $(DATADIR)
	mkdir -p $(BASH_COMPLETION_DIR)
	cp bash-completion.d/tkhostman.sh $(BASH_COMPLETION_DIR)
